<?php
/*由bean脚本生成 powerBy--joe*/
namespace app\common\model;

use app\common\bean\StoreBean;
use app\common\bean\StoreCashBean;

class StoreCashModel extends BaseModel
{
	protected $table = 'store_cash';
	/**
	* @return StoreCashModel
	*/
	static function getInstance(){
		return parent::getInstance();
	}

    /** 提现订单属于店铺
     * @return \think\model\relation\BelongsTo
     */
	public function store(){
	    return $this->belongsTo('StoreModel',StoreCashBean::$storeId,StoreBean::$id);
    }
}
